package com.daisuxia.task;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.fastjson.JSON;
import com.daisuxia.back.utils.SpringUtils;
import com.daisuxia.back.utils.SysCacheUtils;
import com.daisuxia.back.utils.WebClient;
import com.daisuxia.web.dao.IOutOrdersDao;
import com.daisuxia.web.pojo.BackConfigParams;
import com.daisuxia.web.pojo.BorrowOrder;
import com.daisuxia.web.pojo.Repayment;
import com.daisuxia.web.pojo.User;
import com.daisuxia.web.pojo.p2p.LoanNotifyResponse;
import com.daisuxia.web.pojo.p2p.LoanPackageStatusRequest;
import com.daisuxia.web.pojo.p2p.LoanPackageStatusResponse;
import com.daisuxia.web.service.BorrowOrderService;
import com.daisuxia.web.service.IBorrowOrderService;
import com.daisuxia.web.service.IRepaymentService;
import com.daisuxia.web.service.IUserService;
import com.daisuxia.web.util.DateUtil;
import com.daisuxia.web.util.MapConvertCoreUtils;
import com.daisuxia.web.util.PMD5Utils;
import com.daisuxia.web.util.SendSmsUtil;

/** 
 * 基于xml的定时器 
 * @author lgy
 */

public class CreateTableTaskService {
	private static Logger logger = LoggerFactory.getLogger(CreateTableTaskService.class);
	@Autowired
	private IOutOrdersDao outOrdersDao;
	
	/**
	 * 调用存储过程来创建表out_orders，risk_rule_cal
	 * @author lgy
	 * @date 2017年9月19日 上午9:25:16
	 * @Description  void 
	 * @throws
	 */
	public void callBackProCreateTable() {
		outOrdersDao.createOutOrders();
		outOrdersDao.createRiskRuleCal();
	}

}